package thinkinginjava;

public class PassByValue {
	public static void main(String[] args) {
		StringBuffer sb = new StringBuffer();
		replaceStringBuffer(sb);
		System.out.println(sb);
	}

	private static void replaceStringBuffer(StringBuffer sb) {
		StringBuffer s = new StringBuffer("abc");
		sb = s;
	}
	
}
